﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Panel.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%=System.Configuration.ConfigurationManager.AppSettings["pageTitle"] %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div class="listHeader">
        <img src="../../Images/ListImages/panellist.png" alt="" class="listHeaderIco" />
        <div class="listHeaderText">Yönetim Paneli</div>
    </div>
<div class="managementPanelContainer">
    <div class="managementPanelQuickMenuContainer">
        <a href="/content/new/" class="managementPanelQuickMenuItem-link">
        <div class="managementPanelQuickMenuItem">
            <div class="managementPanelQuickMenuItem-image">
                <img src="../../Images/ListImages/contentlist.png" alt="" />
            </div>
            <div class="managementPanelQuickMenuItem-text">
                Yeni Yazı
            </div>
        </div>        
        </a>
        <a href="/section/new/" class="managementPanelQuickMenuItem-link">
        <div class="managementPanelQuickMenuItem">
            <div class="managementPanelQuickMenuItem-image">
                <img src="../../Images/ListImages/sectionlist.png" alt="" />
            </div>
            <div class="managementPanelQuickMenuItem-text">
                Yeni Bölüm
            </div>
        </div>
        </a>
        <a href="/category/new/" class="managementPanelQuickMenuItem-link">
        <div class="managementPanelQuickMenuItem">
            <div class="managementPanelQuickMenuItem-image">
                <img src="../../Images/ListImages/categorylist.png" alt="" />
            </div>
            <div class="managementPanelQuickMenuItem-text">
                Yeni Kategori
            </div>
        </div>
        </a>
        <a href="/user/new/" class="managementPanelQuickMenuItem-link">
        <div class="managementPanelQuickMenuItem">
            <div class="managementPanelQuickMenuItem-image">
                <img src="../../Images/ListImages/userlist.png" alt="" />
            </div>
            <div class="managementPanelQuickMenuItem-text">
                Yeni Kullanıcı
            </div>
        </div>
        </a>
        <a href="/menu/new" class="managementPanelQuickMenuItem-link">
        <div class="managementPanelQuickMenuItem">
            <div class="managementPanelQuickMenuItem-image">
                <img src="../../Images/ListImages/menulist.png" alt="" />
            </div>
            <div class="managementPanelQuickMenuItem-text">
                Yeni Menü
            </div>
        </div>
        </a>
    </div>    
    
    <div class="managementPanelAccordionContainer">
        <div id="accordion" class="managementPanelAccordion">         
            <h3 class="managementPanelAccordion-header">
                <div class="managementPanelAccordion-ico"><img src="../../Images/ListImages/accordionitem.png" alt="" /></div>
                <a href="#" class="managementPanelAccordion-headerLink">Son Eklenen Yazılar</a></h3>
                <div class="managementPanelAccordion-content">
                    <% Html.RenderPartial("/views/shared/userControls/panelContentList.ascx", Prodma.DataAccess.DataService.ListService.ContentList.GetLastContentList(10), new ViewDataDictionary()); %>
                </div>
            <h3 class="managementPanelAccordion-header">
                <div class="managementPanelAccordion-ico"><img src="../../Images/ListImages/accordionitem.png" alt="" /></div>
                <a href="#" class="managementPanelAccordion-headerLink">Online Kullanıcılar</a></h3>
                <div class="managementPanelAccordion-content">
                    <% Html.RenderPartial("/views/shared/userControls/panelLoginUserList.ascx", Prodma.DataAccess.DataService.ListService.LoginUserList.GetList(), new ViewDataDictionary()); %>
                </div>
        </div>
    </div>
</div>

<script type="text/javascript">
    $(document).ready(function() {
        $("#accordion").accordion();
    });

</script>

</asp:Content>
